package com.jz.community.basecomm.bean.basePontageInfo;

import com.jz.community.basecomm.bean.BaseShopInfo;

/**
 * Created by Tony.Fan on 2018/6/6 16:05
 */
public class BasePostageInfo {

    private String id;
    private int status;
    private int version;
    private String createTime;
    private String updateTime;
    private int sendPriceType;
    private String min;
    private String max;
    private String sendPriceScale;
    private String type;
    private double postage;
    private String cityCode;
    private int startPrice;
    private double freePostage;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getSendPriceType() {
        return sendPriceType;
    }

    public void setSendPriceType(int sendPriceType) {
        this.sendPriceType = sendPriceType;
    }

    public String getMin() {
        return min;
    }

    public void setMin(String min) {
        this.min = min;
    }

    public String getMax() {
        return max;
    }

    public void setMax(String max) {
        this.max = max;
    }

    public String getSendPriceScale() {
        return sendPriceScale;
    }

    public void setSendPriceScale(String sendPriceScale) {
        this.sendPriceScale = sendPriceScale;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public double getPostage() {
        return postage;
    }

    public void setPostage(double postage) {
        this.postage = postage;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public int getStartPrice() {
        return startPrice;
    }

    public void setStartPrice(int startPrice) {
        this.startPrice = startPrice;
    }

    public double getFreePostage() {
        return freePostage;
    }

    public void setFreePostage(double freePostage) {
        this.freePostage = freePostage;
    }

    private BaseShopInfo.EmbeddedBeanX _embedded;

    public BaseShopInfo.EmbeddedBeanX get_embedded() {
        return _embedded;
    }

    public static class EmbeddedBeanX {
        /**
         * shopInfo : {"id":1,"name":"良品公社","shopTypeId":46,"shopTypeName":"自营","shopTypeCode":"1102","_embedded":{"postageInfoes":[{"_links":{"self":{"href":"http://10.41.0.93:8014/shp/shop-postages/69"}}}],"assuranceServices":[]},"_links":{"self":{"href":"http://10.41.0.93:8014/shp/shops/1"},"shopType":{"href":"http://microservice.shoppingyizhan.com/dic/code-tables/46"},"mainBusiness":{"href":"http://microservice.shoppingyizhan.com/gds/goods-categories/4"},"platform":{"href":"http://microservice.shoppingyizhan.com/dic/code-tables/2"}}}
         */

        private BaseShopInfo.EmbeddedBeanX.ShopInfoBean shopInfo;

        public BaseShopInfo.EmbeddedBeanX.ShopInfoBean getShopInfo() {
            return shopInfo;
        }

        public void setShopInfo(BaseShopInfo.EmbeddedBeanX.ShopInfoBean shopInfo) {
            this.shopInfo = shopInfo;
        }

        public static class ShopInfoBean {
            /**
             * id : 1
             * name : 良品公社
             * shopTypeId : 46
             * shopTypeName : 自营
             * shopTypeCode : 1102
             * _embedded : {"postageInfoes":[{"_links":{"self":{"href":"http://10.41.0.93:8014/shp/shop-postages/69"}}}],"assuranceServices":[]}
             * _links : {"self":{"href":"http://10.41.0.93:8014/shp/shops/1"},"shopType":{"href":"http://microservice.shoppingyizhan.com/dic/code-tables/46"},"mainBusiness":{"href":"http://microservice.shoppingyizhan.com/gds/goods-categories/4"},"platform":{"href":"http://microservice.shoppingyizhan.com/dic/code-tables/2"}}
             */

            private String id;
            private String name;
            private int shopTypeId;
            private String shopTypeName;
            private String shopTypeCode;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getShopTypeId() {
                return shopTypeId;
            }

            public void setShopTypeId(int shopTypeId) {
                this.shopTypeId = shopTypeId;
            }

            public String getShopTypeName() {
                return shopTypeName;
            }

            public void setShopTypeName(String shopTypeName) {
                this.shopTypeName = shopTypeName;
            }

            public String getShopTypeCode() {
                return shopTypeCode;
            }

            public void setShopTypeCode(String shopTypeCode) {
                this.shopTypeCode = shopTypeCode;
            }
        }
    }
}
